package com.misyi.leetcode.editor.cn;

/**
 * 链表节点
 *
 * @author licong
 * @date 2021-09-28 下午11:06
 */
public class ListNode {
    public int val;
    public ListNode next;

    public ListNode() {
    }

    public ListNode(int val) {
        this.val = val;
    }

    public ListNode(int val, ListNode next) {
        this.val = val;
        this.next = next;
    }
}